package com.dragon.mmochat.model;

import java.io.Serializable;
import com.dragon.mmochat.model.enumType.MmochatDailyActivityType;

public class MmochatDailyActivity implements Serializable {
	private static final long serialVersionUID = 1713581573029355789L;
	private MmochatDailyActivityType type;
	private long lastTime = 0; // Date.getTime()
	private boolean isInActivity = false; // 是否已在活动中,相对于有持续时间的活动
	private int dailyTimes = 0;// 每日次数

	public MmochatDailyActivityType getType() {
		return type;
	}

	public void setType(MmochatDailyActivityType type) {
		this.type = type;
	}

	public long getLastTime() {
		return lastTime;
	}

	public void setLastTime(long lastTime) {
		this.lastTime = lastTime;
	}

	public boolean isInActivity() {
		return isInActivity;
	}

	public void setInActivity(boolean isInActivity) {
		this.isInActivity = isInActivity;
	}

	public int getDailyTimes() {
		return dailyTimes;
	}

	public void setDailyTimes(int dailyTimes) {
		this.dailyTimes = dailyTimes;
	}

	public void addDailyTimes(int add) {
		this.dailyTimes += add;
	}
}
